package com.moneywelcome.orderfacade.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 申购记录表
 * </p>
 *
 * @author alice
 * @since 2022-01-06
 */
@Data
public class InvestRecordVo implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 用户id
     */
    @NotNull
    private Integer userId;

    /**
     * 用户昵称
     */
    @NotNull
    private String nickName;

    @NotNull
    /**
     * 持仓id
     */
    private Long financialId;
    /**
     * 黄金id
     */
    @NotNull
    private Integer goldId;
    /**
     * 黄金名
     */
    @NotNull
    private String variety;
    /**
     * 购入费额
     */
    @NotNull
    private Double buyCharge;
    /**
     * 购入费率
     */
    @NotNull
    private Double buyRate;
    @NotNull
    private Double manageRate;
    /**
     * 支付账号
     */
    @NotNull
    private Long buyAccount;


}
